package com.ideal.frame.application.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ideal.frame.entity.AutoModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import javax.validation.constraints.NotBlank;

/**
 * @Author ybb
 * @Description
 * @Date 2021/8/24 16:11
 */
@Entity
@Table(name = "application_tb")
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class Application extends AutoModel{


    @NotBlank(message = "应用名称不能为空")
    private String appName;
    private int appType;
    private String appDesc;
    private String useRecursion;
    @Column(name = "app_rd_unit")
    private String appRDUnit;
    private String appKey;
    private String gnrlid;

    public static void main(String[] args) {
        System.out.println();
    }

}
